package com.github.permissiondog.cancanpandroid.repository.api;

import com.github.permissiondog.cancanpandroid.repository.api.response.UploadResourceResponse;

import okhttp3.MultipartBody;
import retrofit2.Call;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

public interface ResourceApiService {
    @Multipart
    @POST("resource")
    Call<UploadResourceResponse> uploadResource(@Part MultipartBody.Part image);
}
